Always use the root package's set of profiles
authorAlex Crichton <alex@alexcrichton.com>
Tue, 20 Oct 2015 22:50:58 +0000 (15:50 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 20 Oct 2015 22:50:58 +0000 (15:50 -0700)
commite50ccf7384ea78bec4f23459c34ecf3b380aa7f6
tree2a0095b4716476d55498c07a22836ab69d310753
parentcf9106c0e6c9115790e2281a76e7afb7b735e7cf
Always use the root package's set of profiles

When testing or building multiple packages via the `-p` argument the root
package's profiles should always be used instead of the sub-package's set of
profiles.
src/cargo/ops/cargo_compile.rs
tests/test_cargo_test.rs